package ai.people.netmon.twitter.view.mapper;

import ai.people.netmon.framework.domain.twitter.view.entity.TwitterAccountView;
import ai.people.netmon.framework.domain.twitter.probe.request.UserWebRequest;
import ai.people.netmon.framework.domain.twitter.view.request.QueryViewRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * twitter账户视图映射器
 *
 * @author yuanqinglong
 * @date 2022/3/11 19:22
 */
@Mapper
public interface TwitterAccountViewMapper extends BaseMapper<TwitterAccountView> {

    IPage<TwitterAccountView> listTwitterAccountPage(Page<TwitterAccountView> page, @Param("request") QueryViewRequest userWebRequest);

}
